package com.xiaoyu.lingdian.vo;

import com.xiaoyu.lingdian.entity.CoreAddress;
import com.xiaoyu.lingdian.vo.BaseVO;

public class CoreAddressVO implements BaseVO {

	/**
	*标识UUID
	*/
	private String crarsUuid;

	/**
	*所属用户
	*/
	private String crarsUser;

	/**
	*所属用户名称
	*/
	private String crarsUserName;
	
	/**
	*收货人姓名
	*/
	private String crarsName;

	/**
	*手机号码
	*/
	private String crarsTel;

	/**
	*邮政编码
	*/
	private String crarsMail;

	/**
	*所在省市
	*/
	private String crarsCity;
	
	/**
	*详细地址
	*/
	private String crarsAddress;
	
	/**
	*是否默认(1默认2不默认）
	*/
	private int crarsDefault;

	public void setCrarsUuid(String crarsUuid) {
		this.crarsUuid = crarsUuid;
	}

	public String getCrarsUuid( ) {
		return crarsUuid;
	}

	public void setCrarsUser(String crarsUser) {
		this.crarsUser = crarsUser;
	}

	public String getCrarsUser( ) {
		return crarsUser;
	}

	public void setCrarsName(String crarsName) {
		this.crarsName = crarsName;
	}

	public String getCrarsName( ) {
		return crarsName;
	}

	public void setCrarsTel(String crarsTel) {
		this.crarsTel = crarsTel;
	}

	public String getCrarsTel( ) {
		return crarsTel;
	}

	public void setCrarsMail(String crarsMail) {
		this.crarsMail = crarsMail;
	}

	public String getCrarsMail( ) {
		return crarsMail;
	}

	public void setCrarsAddress(String crarsAddress) {
		this.crarsAddress = crarsAddress;
	}

	public String getCrarsAddress( ) {
		return crarsAddress;
	}

	public String getCrarsUserName() {
		return crarsUserName;
	}

	public void setCrarsUserName(String crarsUserName) {
		this.crarsUserName = crarsUserName;
	}

	public String getCrarsCity() {
		return crarsCity;
	}

	public void setCrarsCity(String crarsCity) {
		this.crarsCity = crarsCity;
	}

	public int getCrarsDefault() {
		return crarsDefault;
	}

	public void setCrarsDefault(int crarsDefault) {
		this.crarsDefault = crarsDefault;
	}

	public CoreAddressVO( ) { 
	}

	@Override
	public void convertPOToVO(Object poObj) {
		if (null == poObj) {
			return;
		}

		CoreAddress po = (CoreAddress) poObj;
		this.crarsUuid = po.getCrarsUuid();
		this.crarsUser = po.getCrarsUser();
		this.crarsUserName = po.getCrarsUserName();
		this.crarsName = po.getCrarsName();
		this.crarsTel = po.getCrarsTel();
		this.crarsMail = po.getCrarsMail();
		this.crarsCity = po.getCrarsCity();
		this.crarsAddress = po.getCrarsAddress();
		this.crarsDefault = po.getCrarsDefault();
	}
//<=================定制内容开始==============
//==================定制内容结束==============>

}